﻿#ifndef NSSHARE_BASE_EXCEPTION_H_
#define NSSHARE_BASE_EXCEPTION_H_

#include "base_object.h"

namespace nsshare
{
namespace base
{

class Exception
    :public BaseObject
{
public:
    Exception();
    Exception(const char * message);
    virtual ~Exception();

    const char * message() const;
    void set_message(const char * message);
private:
    char message_[255];
    char tail_;
};

}
}

#endif